<html>
<head>
	<include file="Public/head"/>
	 
	<script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>
	<!-- <script src="http://google.cn/maps/api/js?v=3.exp&sensor=false"></script>
	 <style>
	html, body, #map-canvas {
		height: 500px;
		width:600px;
		margin: 0px;
		padding: 0px
	}
</style>-->
</head>
<body><!--onload="initialize()"-->
<include file="Public/header"/>
	
    <section class="main-inside">
<include file="se_nav"/>

		<div class="container main-inside-container">
			<div class="am-g">
			 
				<div class="article-content">
					<section class="article-content-content">
						 <div class="demo_main">
       
        <fieldset class="demo_content">
            <div  style="min-height: 500px; width: 100%;" id="map">
            </div>
          <script type="text/javascript">
                var markerArr = [
                    { title: "中山遠洋城總店", point: "113.432113,22.509067", address: "廣東省中山市東區文興路101號遠洋城天祺花園128卡",  tel: "(0760)88327212" },
                    { title: "中山利和廣塲店", point: "113.390552,22.514919", address: "廣東省中山市東區怡華街18號恒信花園D區6棟39卡",  tel: "(0760)88327271" },
					 { title: "香港門店", point: "113.9778355,22.3917263", address: "新界屯门华都商场地下33B铺",  tel: "(0760)88327271" },
                 { title: "澳洲悉尼店", point: "-33.876849,151.204826", address: "SUIT 7,LEVEL2，377-383 SUSSEX STREET,SYDNEY NSW 2000，AUSTRALIA"},
				];

                function map_init() {
                    var map = new BMap.Map("map"); // 创建Map实例
                    var point = new BMap.Point(113.746855,22.488946); //地图中心点，
                    map.centerAndZoom(point, 10); // 初始化地图,设置中心点坐标和地图级别。
                    map.enableScrollWheelZoom(true); //启用滚轮放大缩小
                    //向地图中添加缩放控件
                    var ctrlNav = new window.BMap.NavigationControl({
                        anchor: BMAP_ANCHOR_TOP_LEFT,
                        type: BMAP_NAVIGATION_CONTROL_LARGE
                    });
                    map.addControl(ctrlNav);

                    //向地图中添加缩略图控件
                    var ctrlOve = new window.BMap.OverviewMapControl({
                        anchor: BMAP_ANCHOR_BOTTOM_RIGHT,
                        isOpen: 1
                    });
                    map.addControl(ctrlOve);

                    //向地图中添加比例尺控件
                    var ctrlSca = new window.BMap.ScaleControl({
                        anchor: BMAP_ANCHOR_BOTTOM_LEFT
                    });
                    map.addControl(ctrlSca);

                    var point = new Array(); //存放标注点经纬信息的数组
                    var marker = new Array(); //存放标注点对象的数组
                    var info = new Array(); //存放提示信息窗口对象的数组
                    for (var i = 0; i < markerArr.length; i++) {
                        var p0 = markerArr[i].point.split(",")[0]; //
                        var p1 = markerArr[i].point.split(",")[1]; //按照原数组的point格式将地图点坐标的经纬度分别提出来
                        point[i] = new window.BMap.Point(p0, p1); //循环生成新的地图点
                        marker[i] = new window.BMap.Marker(point[i]); //按照地图点坐标生成标记
                        map.addOverlay(marker[i]);
                        marker[i].setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画
                        var label = new window.BMap.Label(markerArr[i].title, { offset: new window.BMap.Size(20, -10) });
                        marker[i].setLabel(label);
                        info[i] = new window.BMap.InfoWindow("<p style=’font-size:12px;lineheight:1.8em;’>" + markerArr[i].title + "</br>地址：" + markerArr[i].address + "</br> 電話：" + markerArr[i].tel + "</br></p>"); // 创建信息窗口对象
                    }
                    marker[0].addEventListener("mouseover", function () {
                        this.openInfoWindow(info[0]);
                    });
                    marker[1].addEventListener("mouseover", function () {
                        this.openInfoWindow(info[1]);
                    });
                    marker[2].addEventListener("mouseover", function () {
                        this.openInfoWindow(info[2]);
                    });
                }
                //异步调用百度js
                function map_load() {
                    var load = document.createElement("script");
                    load.src = "http://api.map.baidu.com/api?v=1.4&callback=map_init";
                    document.body.appendChild(load);
                }
                window.onload = map_load;
            </script>
        </fieldset>
    </div>
	  <!--<div id="map-canvas"></div>
	<script>
function initialize() {
  var myLatlng = new google.maps.LatLng(22.4727418,113.73969);//谷歌坐标地址
  var mapOptions = {
    zoom: 14,
    center: myLatlng
  }
  var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
 
 
		var places = [];

            // Adding a LatLng object for each city

                places.push(new google.maps.LatLng(22.502869,113.425651));

                places.push(new google.maps.LatLng(22.508751, 113.3834150));

                places.push(new google.maps.LatLng(22.3917263,113.9778355));
				
				 places.push(new google.maps.LatLng(-33.876849,151.204826));
				 
		
				 
		for (var i = 0; i < places.length; i++) {

                    // Creating a new marker

                    var marker = new google.maps.Marker({

                        position: places[i],

                        map: map,

                        title: 'Place number ' + i

                    });

                }
 

}


 

</script>-->
						<p align="left" style="text-align:center;">
							<strong>
								<span style="font-size:16px;color:#666666;"><br>
							</span>
							</strong> 
						</p>
						<div class="nav nav23" style="margin:0px;padding:0px;">
						</div>
							<volist name="cultrue_content" id="vo">	
								{$vo.content}
							</volist>							
					</section>
				</div>
			</div>
		</div>

	</section>
	
<include file="Public/footer"/>
  
</body>
</html>

